package main

import (
	"golang.org/x/tour/pic"
	//"math"
)
func Pic(dx, dy int ) [][]uint8 {
	result := make([][]uint8,dy)
	for x := range(result){
		result[x]=make([]uint8,dx)
		for y:= range(result[x]){
			//result[x][y] = uint8(float64(x)*math.Log(float64(y)))
			//result[x][y] = uint8(x^y)
			result[x][y] = uint8(x%(y+1))

		}
	}
	return result
}

func main() {
	pic.Show(Pic)
}